<template>
  <div class="body">
    <div class="top">
      <h2>
        <i @click="fun()">&lt;</i>
        <p>卡优惠</p>
        <b>...</b>
      </h2>
    </div>
    <div class="center">
      <div class="banner">
        <img src="@/assets/Cerditcar/yh/banner.png" alt="" />
      </div>
      <div class="tubiaos">
        <img src="@/assets/Cerditcar/yh/tecy.png" alt="" />
        <img src="@/assets/Cerditcar/yh/ssgw.png" alt="" />
        <img src="@/assets/Cerditcar/yh/qcsh.png" alt="" />
        <img src="@/assets/Cerditcar/yh/myqz.png" alt="" />
      </div>
      <div class="tubiaox">
        <img src="@/assets/Cerditcar/yh/xxyl.png" alt="" />
        <img src="@/assets/Cerditcar/yh/jdsm.png" alt="" />
        <img src="@/assets/Cerditcar/yh/shfw.png" alt="" />
        <img src="@/assets/Cerditcar/yh/lycx.png" alt="" />
      </div>
      <div class="shop">
        <h4>特色商户</h4>
        <img src="@/assets/Cerditcar/yh/shop banner.png" alt="" />
        <div class="phone">
          <img src="@/assets/Cerditcar/yh/phone fq.png" alt="" />
          <img src="@/assets/Cerditcar/yh/tbfq.png" alt="" />
          <img src="@/assets/Cerditcar/yh/lkxyk.png" alt="" />
        </div>
      </div>
      <div class="huo">
        <img src="@/assets/Cerditcar/yh/yhpj.png" alt="">
        <img src="@/assets/Cerditcar/yh/yhhd.png" alt="">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.push("/carhome");
    },
  },
};
</script>

<style lang="scss" scoped>
.top {
  width: 100%;
  height: 0.6rem;
  background: #3069b0;
  h2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    color: #fff;
    align-items: center;
    i {
      font-size: 0.2rem;
      margin-left: 0.1rem;
    }
    b {
      font-size: 0.2rem;
      margin-right: 0.15rem;
    }
    p {
      font-size: 0.2rem;
    }
  }
}
.center {
  width: 100%;
  .banner {
    width: 100%;
    height: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 3.44rem;
    }
  }
  .tubiaos {
    width: 100%;
    height: 0.7rem;
    border-bottom: 0.01rem solid #ebebeb;
    display: flex;
    justify-content: space-around;
    img {
      width: 0.6rem;
      height: 0.6rem;
    }
  }
  .tubiaox {
    width: 100%;
    height: 0.7rem;
    border-bottom: 0.01rem solid #ebebeb;
    display: flex;
    justify-content: space-around;
    img {
      width: 0.6rem;
      height: 0.6rem;
    }
  }
  .shop {
    width: 100%;
    h4 {
      width: 100%;
      height: 0.5rem;
      line-height: 0.5rem;
      margin-left: 0.1rem;
      font-weight: 700;
    }
    img {
      width: 3.44rem;
      margin: 0 auto;
      display: block;
    }
  }
  .phone {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-top: 0.1rem;
    margin-bottom: 0.3rem;
    img {
      width: 1.1rem;
      margin: 0 0.03rem;
    }
  }
  .huo {
    width: 100%;
    display: flex;
    justify-content: center;
    img {
      width: 1.6rem;
      margin: 0 0.05rem;
    }
  }
}
</style>